package com.lianqi.emcpframework.dataaccess;

import com.lianqi.emcpframework.core.dict.EnumDict;
import com.lianqi.emcpframework.core.dict.annotation.Dict;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @program emcp-portal
 * @description: 集合范围定义
 * @author: sky
 * @create: 2019/05/27 16:56
 */
@Getter
@AllArgsConstructor
@Dict(id = "SetScope")
public enum SetScope implements EnumDict<String> {

    ownCreated("ownCreated","自己创建的数据","集合范围限定-自己创建的数据"),
    ownOrg("ownOrg","用户归属机构的数据","集合范围限定-户归属机构的数据"),
    orgScope("orgScope","限定的机构范围","集合范围限定-限定的机构范围"),
    grantScope("grantScope","指定的数据范围","集合范围限定-指定的数据范围"),
    all("all","所有数据","集合范围限定-所有数据"),
    none("none","默认","集合范围限定-默认");


    private String value;

    private String text;

    private String comments;
}
